#!/bin/env python
# -*- coding:utf-8 -*-
import os
print('Process (%s) start...' % os.getpid())
#Only works on Unix/Linux/Mac
pid = os.fork()
if pid == 0:
	print('I am child process (%s) and my prarent is %s.' % (os.getpid(), os.getppid()))
else:
	print('I (%s) just created a child process (%s).' % (os.getpid(),pid))
